package ClassDEmo;

public class ClassDemo01 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class c1=Integer.class;
        Class c2= Integer.class;
        System.out.println(c1==c2);
        Class c3=new Integer(100).getClass();
        System.out.println(c2==c3);
        Class c4=Class.forName("java.lang.Integer");
        System.out.println(c3==c4);
        System.out.println(c1.getName());
        System.out.println(c1.getSimpleName());
        System.out.println(c1.getPackage().getName());
        System.out.println(c1.getModifiers());
        System.out.println(c1.getSuperclass().getName());
    }
}
